package com.retail.order.service;

import com.retail.core.common.CommonService;
import com.retail.order.entity.vo.SysAdminVerifyDetailVo;
import com.retail.order.entity.request.SysAdminVerifyDetailRequest;
import com.retail.setting.entity.vo.RetailFxLevelVo;
import com.retail.system.entity.vo.AdminVo;
import com.retail.wxchat.entity.vo.RetailWxGetMoneyVo;

import java.util.List;

/**
* 用户核销单子明细 Service
* @author Administrator
*/
public interface SysAdminVerifyDetailService extends CommonService<SysAdminVerifyDetailRequest, SysAdminVerifyDetailVo> {
    SysAdminVerifyDetailVo getMaxModelByOrderId(String adminId, String orderId);

    /**
     * 核销订单
     * @param adminVo
     * @param matchFxLevel
     * @param orderDetails
     * @return
     */
    Long verifyOrder(AdminVo adminVo, RetailFxLevelVo matchFxLevel, RetailWxGetMoneyVo retailWxGetMoneyVo, List<SysAdminVerifyDetailVo> orderDetails);

    List<SysAdminVerifyDetailVo> findDetailByVerifyId(Long verifyId);

}
